package com.indeep.user.service;

import com.indeep.user.mapper.po.AppUserPO;
import com.indeep.user.service.base.BaseService;
import com.indeep.user.vo.CheckCodeVO;
import com.indeep.user.dto.CodeDTO;

public interface ILoginService  extends BaseService<AppUserPO> {
    void sendCode(String phoneNumber);

    CheckCodeVO checkCode(String phoneNumber, String code);

    CheckCodeVO checkInviteCode(CodeDTO dto);

    void logout();

    void unsubscribe();

    void unsubscribeCheck(String code);

    void changeTel();

    void changeTelCheckCode(CodeDTO codeDto);

    void newTel(CodeDTO codeDto);

    void newTelCheckCode(CodeDTO codeDto);

    CheckCodeVO refreshAccessToken();

    CheckCodeVO wechatAuth(String code);

    void authAndBind(String code);

    void unbindWechat();

    void bindTel(CodeDTO dto);

    CheckCodeVO bindTelCheck(CodeDTO dto);
}
